package listfactory;
import factory.Link;
/**
 * @Author:DarknessShadow
 * @description:
 * @date 2020/5/14 16:19
 */
public class ListLink extends Link {

    public ListLink(String caption, String url) {
        super(caption, url);
    }

    @Override
    public String makeHTML() {
        return "<li><a href=\"" + url + "\">" + caption + "</a></li>\n";
    }
}
